#pragma once
#include "afxwin.h"
#include "ACEdit.h"

// CDlgEditRequest dialog

class CDlgEditRequest : public CDialog
{
	DECLARE_DYNAMIC(CDlgEditRequest)

public:
	CDlgEditRequest(CWnd* pParent = NULL);   // standard constructor
	virtual ~CDlgEditRequest();
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	afx_msg void OnBnClickedButtonDelete();
	afx_msg void OnBnClickedButtonNotes();
	afx_msg void OnCbnSelchangeComboPriority();
	afx_msg void OnCbnSelchangeComboMethod();
	afx_msg void OnBnClickedButtonLink();

// Dialog Data
	enum { IDD = IDD_DIALOG_EDIT_REQUEST };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()

public:
	LONG m_nStaffID;
	LONG m_nItemID;
	BOOL m_bComplete;
	BOOL m_bUpdateLocaiton;

	CStringArray m_szaStatus;
	CStringArray m_szaPriority;
	CStringArray m_szaMethod;
	CStringArray m_szaLibrary;
	CStringArray m_szaCollection;
	CStringArray m_szaReferrals;
	CStringArray m_szaCopyright;
	CStringArray m_szaILL;

	CString m_szID;
	CACEdit m_ctrlStatus;
	CACEdit m_ctrlLibrary;
	CACEdit m_ctrlCollection;
	CACEdit m_ctrlPriority;
	CACEdit m_ctrlReferrals;
	CACEdit m_ctrlMethod;
	CACEdit m_ctrlILL;
	CACEdit m_ctrlCopyright;

	CString m_szUID;
	CString m_szTitle;
	CString m_szDateIn;
	CString m_szDateOut;
	CString m_szViewed;
	CString m_szRedirected;
	CString m_szInstructions;
	CString m_szRequest;
	BOOL m_bAtLibrary;
	CString m_szUserName;
	CString m_szUserAccount;
	double m_dServiceFee;
	double m_dCopyrightFee;
	double m_dMiscFee;
	CString m_szProject;
	BOOL m_bInvoiced;
	CString m_szSource;
	CString m_szAltLocation;
	CString m_szLink;
	BOOL m_bRetain;
};
